This HTML Templater assumes page templates contain components, so should not be directly templated. Instead this will look for a master template tag in the page template, and then invoke that passing the template path for it to use
Properties
Name | Returns | Notes | Example |
---|---|---|---|
webRoot | String | ||
bodyClasses | String | ||
lessSources | Map | ||
jsSources | Map | ||
cssSources | Map |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
getClassName ( resource ) | String | ||
mergeTitles ( templateTitle, pageTitle ) | String | Does a simple variable substitution, replacing occurence of $title in the templateTitle with the pageTitle This is to allow templates to specify the title but with templating which is safe for component pages |
Hide comments
